//获取应用实例
let app = getApp();
Page({
    data: {
        orderId:"",
        isShowFootNav: false
    },
    onLoad() {
	    app.setStorageSync(app.globalData.paySuccessSign,1)  //到了支付成功页首页回复默认值
	    let data = app.getStorageSync(app.globalData.paySuccess);
        this.setData({
            orderIdList: data
        });
        // app.removeStorageSync(app.globalData.cacheData);
    },
    onHide() {

  	},
    detailTap(e) {
        let orderId = e.currentTarget.dataset.id;
        app.redirectTo({
            url: '../orderdetail/orderdetail?orderId='+orderId
        });
    }
});
